package com.dslu.fx.dao;

import com.dslu.fx.domain.StockBillDO;
import com.dslu.fx.vo.ProdVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 
 * @date 2021-03-25 14:10:38
 */
@Mapper
public interface StockBillDao {

	StockBillDO get(Integer id);
	
	List<StockBillDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(StockBillDO stockBill);
	
	int update(StockBillDO stockBill);
	
	int remove(Integer id);
	
	int batchRemove(Integer[] ids);

    List<StockBillDO> getStockBillList(Map<String, Object> map);

    StockBillDO getOne(Map<String, Object> map);

	List<ProdVO> getStockByAreaId(Integer areaId);
}
